//
//  LGCommodityProtocolView.m
//  LuxuryGoods
//
//  Created by 刘星辰 on 2018/5/22.
//  Copyright © 2018年 Future. All rights reserved.
//

#import "LGCommodityProtocolView.h"

@implementation LGCommodityProtocolView


+ (instancetype)createFromXib
{
    return [[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class]) owner:self options:nil][0];
}
- (IBAction)buttonClick:(id)sender
{
    if (self.checkProtocolBlock)
    {
        self.checkProtocolBlock();
    }
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
